import axiosInstance from './axiosInstance';

export const authService = {
  // 登录
  async login(params) {
    return axiosInstance.post('/auth/login', params);
  },
  
  // 获取用户信息
  async getProfile() {
    return axiosInstance.get('/auth/profile');
  },
  
  // 修改密码
  async changePassword(params) {
    return axiosInstance.put('/auth/change-password', params);
  }
};